<html>
<head>
<title>Demo</title>
<script src="jquery.min.js" type="text/javascript"></script>
<style type="text/css" media="screen">
.inputtext {
	width :5em;
	border:1px solid #ccc;
}
</style>
</head>
<body>
<span>This will play gallery step-by-step.  <a href="index.html">Return</a></span><br />
<button type="button" id="btnGetTxt">Next</button>
<p id="txt" />
<hr />
</body>

</html>
<script>
$("#btnGetTxt").click(
    function() {
        $.get("gallery.cgi",
        function(data) {
            $("#txt")[0].innerHTML = data;
        })
    }
)
</script>
